package pers.xiaojun.boot.module.system.api.tenant;

import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;
import pers.xiaojun.boot.common.biz.system.tenant.TenantCommonApi;
import pers.xiaojun.boot.module.system.service.tenant.TenantService;


/**
 * 租户通用API实现
 *
 * @author xiaojun
 * @since 2025-11-22
 */
@RequiredArgsConstructor
@Service
public class TenantCommonApiImpl implements TenantCommonApi {

    private final TenantService tenantService;

    @Override
    public void validTenantAvailable(Long tenantId) {
        tenantService.validTenantAvailable(tenantId);
    }
}
